<?php
	require_once("../../library/function/connect.php");
	require_once("../../library/function/MasterTool.php");
	$obj = new MasterTool();
	
	$query = mysql_query(" SELECT id,name FROM nhom WHERE name != '' ORDER BY position ");
	if(mysql_num_rows($query) > 0)
	{
		echo " <option value=''> Chọn nhóm công việc... </option> ";
		while($row = mysql_fetch_array($query))
			echo "<option value='".$row['id']."'> ".ucwords($row['name'])." </option>";	
	}
?>